home *** CD-ROM | disk | FTP | other *** search
/ Magnum One / Magnum One (Mid-American Digital) (Disc Manufacturing).iso / d7 / geniescr.arc / GENIE.SLT next >
Text File  |  1991-08-04  |  839b  |  31 lines

  1. ///////////////////////////////  GENIE.SLT  /////////////////////////////////
  2.  
  3. // This is a sample script for logging on to Genie.
  4.  
  5.  str id[] = "HHH";  // logon id
  6.  
  7.  str pswd[] = "xxxxxxxx,xxxx"; // User number and password
  8.  
  9. // Put the logon id and U# in the above lines
  10. // Before using this script for the first time, or when you make a change,
  11. // type 'cs genie' at the DOS prompt to compile the script for use by Telix.
  12.  
  13. //////////////////////////////////////////////////////////////////////////////
  14.  
  15. main()
  16.  
  17.  
  18.   {
  19.  
  20.     alarm(1);
  21.  
  22.     cputs(id);                       // send logon id
  23.     cputs ("^M");                    //   and Carriage Return
  24.  
  25.     waitfor ("Pswd:",15);
  26.     cputs(pswd);                     // send user id # & password
  27.  
  28.    cputs ("^M");                    //   and Carriage Return
  29.  
  30.   }
  31.